import request from '@/utils/request';

export async function getBatchProductDesignByPage (params: any) {
    return request('/api/design/getBatchProductDesignByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addBatchProductDesign (params: any) {
    return request('/api/design/addBatchProductDesign', {
    method: 'POST',
    data: params,
  });
}

export async function updateBatchProductDesign (params: any) {
    return request('/api/design/updateBatchProductDesign', {
    method: 'POST',
    data: params,
  });
}

export async function delBatchProductDesign (params: any) {
    return request('/api/design/delBatchProductDesign', {
    method: 'POST',
    data: params,
  });
}


export async function exportBatchProductDesign(params: any) {
    return request('/api/design/exportBatchProductDesign', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getBatchProductDesignByPage, addBatchProductDesign, updateBatchProductDesign, delBatchProductDesign, exportBatchProductDesign }
